package com.kingmed.kmss.bpmn.modules.backup.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 审批状态表
 * </p>
 *
 * @author wzg
 * @since 2023-02-25
 */
@Getter
@Setter
@ToString
@TableName("biz_approval_status")
@ApiModel(value = "BizApprovalStatus对象", description = "审批状态表")
public class BizApprovalStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("业务表ID")
    private String businessId;

    @ApiModelProperty("业务类型- 可以用模块-功能的名称，如：mkt-act")
    private String bizType;

    @ApiModelProperty("business key - 根据business type生成的唯一的业务流程编号")
    private String bizKey;

    @ApiModelProperty("当前审批状态名称")
    private String currStatusName;

    @ApiModelProperty("流程实例ID")
    private String procInstId;

    @ApiModelProperty("流程申请人")
    private String requestBy;
    
    @ApiModelProperty("流程申请人")
    private String requestByName;

    @ApiModelProperty("流程申请人部门")
    private String requestByDept;

    @ApiModelProperty("当前处理人部门")
    private String nextApproverDept;

    @ApiModelProperty("申请时间")
    private Date requestTime;
    
    @ApiModelProperty("审批完成时间")
    private Date completeTime;

    @ApiModelProperty("审批进度（审批状态）")
    private Integer currStatus;

    @ApiModelProperty("当前处理人")
    private String nextApprover;

    @ApiModelProperty("当前处理人")
    private String nextApproverName;

    @ApiModelProperty("上一个处理人")
    private String approvedBy;
    
    @ApiModelProperty("上一个处理人")
    private String approvedByName;

    @ApiModelProperty("业务名称")
    private String businessTitle;
    
    @ApiModelProperty("流程类型")
    private Integer processType;
    
    @ApiModelProperty("上一个处理人的部门")
    private String approvedByDept;

}
